package com.kly.cashmall.bean;

import java.io.Serializable;

/**
 * @author zxp
 * @since 27/10/21
 */
public class SmsBean implements Serializable {
    public String id;
    public String body;
    public String address;
    public long date;
    public String name;
    public String threadId;
    public long dataSend;
    public String type;
    public String phoneId;
    public String subId;
    public String read;
    public String status;

    public String toString() {
        return "SmsBean{id='" + this.id + '\'' + ", body='" + this.body + '\'' + ", address='" + this.address + '\'' + ", date='" + this.date + '\'' + '}';
    }

    public String getId() {
        return this.id;
    }

    public String getBody() {
        return this.body;
    }

    public String getAddress() {
        return this.address;
    }

    public long getDate() {
        return this.date;
    }

    public String getName() {
        return this.name;
    }

    public String getThreadId() {
        return this.threadId;
    }

    public long getDataSend() {
        return this.dataSend;
    }

    public String getType() {
        return this.type;
    }

    public String getPhoneId() {
        return this.phoneId;
    }

    public String getSubId() {
        return this.subId;
    }

    public String getRead() {
        return this.read;
    }

    public String getStatus() {
        return this.status;
    }

    public void setId(String id) {
        this.id = id;
    }

    public void setBody(String body) {
        this.body = body;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public void setDate(long date) {
        this.date = date;
    }

    public void setName(String name) {
        this.name = name;
    }

    public void setThreadId(String threadId) {
        this.threadId = threadId;
    }

    public void setDataSend(long dataSend) {
        this.dataSend = dataSend;
    }

    public void setType(String type) {
        this.type = type;
    }

    public void setPhoneId(String phoneId) {
        this.phoneId = phoneId;
    }

    public void setSubId(String subId) {
        this.subId = subId;
    }

    public void setRead(String read) {
        this.read = read;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public boolean equals(Object o) {
        if (o == this) {
            return true;
        } else if (!(o instanceof SmsBean)) {
            return false;
        } else {
            SmsBean other = (SmsBean)o;
            if (!other.canEqual(this)) {
                return false;
            } else {
                label139: {
                    Object this$id = this.getId();
                    Object other$id = other.getId();
                    if (this$id == null) {
                        if (other$id == null) {
                            break label139;
                        }
                    } else if (this$id.equals(other$id)) {
                        break label139;
                    }

                    return false;
                }

                Object this$body = this.getBody();
                Object other$body = other.getBody();
                if (this$body == null) {
                    if (other$body != null) {
                        return false;
                    }
                } else if (!this$body.equals(other$body)) {
                    return false;
                }

                Object this$address = this.getAddress();
                Object other$address = other.getAddress();
                if (this$address == null) {
                    if (other$address != null) {
                        return false;
                    }
                } else if (!this$address.equals(other$address)) {
                    return false;
                }

                if (this.getDate() != other.getDate()) {
                    return false;
                } else {
                    Object this$name = this.getName();
                    Object other$name = other.getName();
                    if (this$name == null) {
                        if (other$name != null) {
                            return false;
                        }
                    } else if (!this$name.equals(other$name)) {
                        return false;
                    }

                    Object this$threadId = this.getThreadId();
                    Object other$threadId = other.getThreadId();
                    if (this$threadId == null) {
                        if (other$threadId != null) {
                            return false;
                        }
                    } else if (!this$threadId.equals(other$threadId)) {
                        return false;
                    }

                    if (this.getDataSend() != other.getDataSend()) {
                        return false;
                    } else {
                        label102: {
                            Object this$type = this.getType();
                            Object other$type = other.getType();
                            if (this$type == null) {
                                if (other$type == null) {
                                    break label102;
                                }
                            } else if (this$type.equals(other$type)) {
                                break label102;
                            }

                            return false;
                        }

                        label95: {
                            Object this$phoneId = this.getPhoneId();
                            Object other$phoneId = other.getPhoneId();
                            if (this$phoneId == null) {
                                if (other$phoneId == null) {
                                    break label95;
                                }
                            } else if (this$phoneId.equals(other$phoneId)) {
                                break label95;
                            }

                            return false;
                        }

                        label88: {
                            Object this$subId = this.getSubId();
                            Object other$subId = other.getSubId();
                            if (this$subId == null) {
                                if (other$subId == null) {
                                    break label88;
                                }
                            } else if (this$subId.equals(other$subId)) {
                                break label88;
                            }

                            return false;
                        }

                        Object this$read = this.getRead();
                        Object other$read = other.getRead();
                        if (this$read == null) {
                            if (other$read != null) {
                                return false;
                            }
                        } else if (!this$read.equals(other$read)) {
                            return false;
                        }

                        Object this$status = this.getStatus();
                        Object other$status = other.getStatus();
                        if (this$status == null) {
                            if (other$status != null) {
                                return false;
                            }
                        } else if (!this$status.equals(other$status)) {
                            return false;
                        }

                        return true;
                    }
                }
            }
        }
    }

    protected boolean canEqual(Object other) {
        return other instanceof SmsBean;
    }

    public int hashCode() {
        int result = 1;
        Object $id = this.getId();
        result = result * 59 + ($id == null ? 43 : $id.hashCode());
        Object $body = this.getBody();
        result = result * 59 + ($body == null ? 43 : $body.hashCode());
        Object $address = this.getAddress();
        result = result * 59 + ($address == null ? 43 : $address.hashCode());
        long $date = this.getDate();
        result = result * 59 + (int)($date >>> 32 ^ $date);
        Object $name = this.getName();
        result = result * 59 + ($name == null ? 43 : $name.hashCode());
        Object $threadId = this.getThreadId();
        result = result * 59 + ($threadId == null ? 43 : $threadId.hashCode());
        long $dataSend = this.getDataSend();
        result = result * 59 + (int)($dataSend >>> 32 ^ $dataSend);
        Object $type = this.getType();
        result = result * 59 + ($type == null ? 43 : $type.hashCode());
        Object $phoneId = this.getPhoneId();
        result = result * 59 + ($phoneId == null ? 43 : $phoneId.hashCode());
        Object $subId = this.getSubId();
        result = result * 59 + ($subId == null ? 43 : $subId.hashCode());
        Object $read = this.getRead();
        result = result * 59 + ($read == null ? 43 : $read.hashCode());
        Object $status = this.getStatus();
        result = result * 59 + ($status == null ? 43 : $status.hashCode());
        return result;
    }

    public SmsBean() {
    }

    public SmsBean(String id, String body, String address, long date, String name, String threadId, long dataSend, String type, String phoneId, String subId, String read, String status) {
        this.id = id;
        this.body = body;
        this.address = address;
        this.date = date;
        this.name = name;
        this.threadId = threadId;
        this.dataSend = dataSend;
        this.type = type;
        this.phoneId = phoneId;
        this.subId = subId;
        this.read = read;
        this.status = status;
    }
}
